/*
 * CanvasColor.java
 *
 * Created on 4 de Junho de 2007, 22:07
 *
 * To change this template, choose Tools | Template Manager
 * and open the template in the editor.
 */

package com.view.components;

/**
 *
 * @author $Leandro$
 */
public class CanvasColor {
    
    public int r;
    
    public int g;
    
    public int b;
    
    public int rgb;
    
    /** Creates a new instance of CanvasColor */
    public CanvasColor(int r,int g, int b) {
        this.r = r;
        this.g = g;
        this.b = b;
    }
    
    /** Creates a new instance of CanvasColor */
    public CanvasColor(int rgb) {
        this.rgb = rgb;
    }
    
}
